package com.qpx.eurekamongodb.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@Document(collection="test")
public class UserEntity {


    private int id;

    private String username;

    private String name;

    private String password;

    private String tel;
}
